class Router extends eui.Component {
  public text: eui.Image;
  public screen: eui.Group;
  public bg: eui.Image;
  public plean: eui.Image;
  public role: eui.Image;
  public open: egret.tween.TweenGroup;

  public constructor() {
    super();
    this.once(egret.Event.ADDED_TO_STAGE, this.init, this);
  }

  public init() {
    EXML.load('resource/eui_skins/S_1_S.exml', (clazz, url) => {
      this.skinName = url;
      this.open.play(0)
    }, this);
  }
}